//
//  SerialTableViewCell.h
//  XPhoto
//
//  Created by sentinel on 2020/3/31.
//  Copyright © 2020 baboy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PostSerial.h"
#import "CALayer+BKKit.h"

NS_ASSUME_NONNULL_BEGIN
#define SERIAL_TABLE_VIEW_CELL_REUSE_ID @"SerialTableViewCell"
@interface SerialTableViewCell : UITableViewCell

@property(nonatomic, strong) IBOutlet UIImageView *coverImageView;
@property(nonatomic, strong) IBOutlet UILabel *titleLabel;
@property(nonatomic, strong) IBOutlet UIButton *addrButton;

@property(nonatomic, strong) IBOutlet UILabel *descLabel;

@property(nonatomic, strong) PostSerial *postSerial;

- (CGFloat)heightWithPostSerial:(PostSerial *)postSerial width:(CGFloat)width;

@end
NS_ASSUME_NONNULL_END
